/**
 * @file misc_event.h
 * @brief 
 * @author  ()
 * @version 1.0
 * @date 2024-09-13
 * 
 * @copyright Copyright (C) 2019 Queclink Wireless Solutions (ShenZhen) Co., Ltd. All Rights Reserved.
 * 
 * @par 修改日志:
 * <table>
 * <tr><th>Date       <th>Version <th>Author  <th>Description
 * <tr><td>2024-09-13 <td>1.0     <td>     <td>内容
 * </table>
 */
#ifndef __MISC_EVENT_H
#define __MISC_EVENT_H

#include <stdint.h>

#define SYS_EVT_REBOOT   (1 << 0)
#define SYS_EVT_POWEROFF (1 << 1)

#ifdef __cplusplus
extern "C" {
#endif


void    misc_event_init(void);
int32_t misc_event_set(int32_t evt);
void    misc_event_process(void);

#ifdef __cplusplus
}
#endif

#endif // __MISC_EVENT_H